import { createStore, combineReducers } from 'redux'
import { initSystemStore, systemReducer } from './reducer/systemReducer'
//组合多个reducer中的仓库
const allInitState = {
    systemReducer: initSystemStore
}
// 组合多个reducer
const allReducers = {
    systemReducer
}
const store = createStore(combineReducers(allReducers), allInitState)
export default store